package com.kitri.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.kitri.dao.AppContext;
import com.kitri.dao.JuctionMbCoDao;
import com.kitri.dao.JuctionMbCoDaoImpl;
import com.kitri.domain.JuctionMbCo;

@Service
public class JuctionMbCoServiceImpl implements JuctionMbCoService {

	private JuctionMbCoDao juctionMbCoDao = null;
	
	public JuctionMbCoServiceImpl() {
		this.juctionMbCoDao = ((JuctionMbCoDaoImpl) AppContext
				.getAppContext().getBean("juctionMbCoDao"));
	}
	
	
	@Override
	public void add(JuctionMbCo juctionMbCo) {
		juctionMbCoDao.add(juctionMbCo);

	}

	@Override
	public void remove(JuctionMbCo juctionMbCo) {
		juctionMbCoDao.remove(juctionMbCo);
	}

	@Override
	public void removeOfMember(String seqId) {
		juctionMbCoDao.removeOfMember(seqId);
	}

	@Override
	public boolean checkIt(JuctionMbCo juctionMbCo) {
		return juctionMbCoDao.checkIt(juctionMbCo);
	}

	@Override
	public List<JuctionMbCo> list() {
		// TODO Auto-generated method stub
		return null;
	}

}
